package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-04-17
*/
    @ApiModel(value="CascadeConfiguration对象", description="")
    public class CascadeConfiguration implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "是否注册到上级平台(0否1是)")
    private Integer isRegisteSuperiorPlatform;

            @ApiModelProperty(value = "上级IP地址")
    private String superiorPlatformUrl;

            @ApiModelProperty(value = "是否允许下级平台注册(0否1是)")
    private Integer isAllowLowerPlatformRegister;

            @ApiModelProperty(value = "是否允许下级平台同步补丁库(0否1是)")
    private Integer isAllowLowerPlatformSyncPatchLib;

            @ApiModelProperty(value = "允许下级平台同步补丁库的时段")
    private String allowLowerPlatformSyncTime;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public Integer getIsRegisteSuperiorPlatform() {
        return isRegisteSuperiorPlatform;
        }

            public void setIsRegisteSuperiorPlatform(Integer isRegisteSuperiorPlatform) {
        this.isRegisteSuperiorPlatform = isRegisteSuperiorPlatform;
        }
        public String getSuperiorPlatformUrl() {
        return superiorPlatformUrl;
        }

            public void setSuperiorPlatformUrl(String superiorPlatformUrl) {
        this.superiorPlatformUrl = superiorPlatformUrl;
        }
        public Integer getIsAllowLowerPlatformRegister() {
        return isAllowLowerPlatformRegister;
        }

            public void setIsAllowLowerPlatformRegister(Integer isAllowLowerPlatformRegister) {
        this.isAllowLowerPlatformRegister = isAllowLowerPlatformRegister;
        }
        public Integer getIsAllowLowerPlatformSyncPatchLib() {
        return isAllowLowerPlatformSyncPatchLib;
        }

            public void setIsAllowLowerPlatformSyncPatchLib(Integer isAllowLowerPlatformSyncPatchLib) {
        this.isAllowLowerPlatformSyncPatchLib = isAllowLowerPlatformSyncPatchLib;
        }
        public String getAllowLowerPlatformSyncTime() {
        return allowLowerPlatformSyncTime;
        }

            public void setAllowLowerPlatformSyncTime(String allowLowerPlatformSyncTime) {
        this.allowLowerPlatformSyncTime = allowLowerPlatformSyncTime;
        }

    @Override
    public String toString() {
    return "CascadeConfiguration{" +
            "id=" + id +
            ", isRegisteSuperiorPlatform=" + isRegisteSuperiorPlatform +
            ", superiorPlatformUrl=" + superiorPlatformUrl +
            ", isAllowLowerPlatformRegister=" + isAllowLowerPlatformRegister +
            ", isAllowLowerPlatformSyncPatchLib=" + isAllowLowerPlatformSyncPatchLib +
            ", allowLowerPlatformSyncTime=" + allowLowerPlatformSyncTime +
    "}";
    }
}
